package com.blb.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.community.entity.SysOperLog;
import com.blb.community.entity.ZyOwnerRoom;
import com.blb.community.entity.vo.ZyOwnerRoomVO;
import com.blb.community.entity.vo.ZyOwnerVo;

import java.util.List;

/**
 * <p>
 * 业主  Mapper 接口
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
public interface ZyOwnerMapper extends BaseMapper<ZyOwnerVo> {
    IPage<ZyOwnerVo> getAllOwner(IPage<SysOperLog> page, String ownerNickname, String ownerRealName, String ownerIdCard, String ownerPhoneNumber, String communityName);

    /**
     * 业主审核查询
     *
     * @param zyOwnerRoomVO
     * @param zyOwnerRoomPage
     * @return
     */
    IPage<List<ZyOwnerRoomVO>> getZyOwnerRoomList(ZyOwnerRoomVO zyOwnerRoomVO, Page<ZyOwnerRoom> zyOwnerRoomPage);



}
